<span class="label-field <?php echo $name; ?> <?php echo $class; ?>">
<span class="label-left"><?php echo $label; ?>:</span>
<span class="label-right">
<?php if(isset($row[$name])){ echo $row[$name]; }else{ echo "ALL"; }  ?><?php echo $text; ?>
</span>
</span>